package com.lida.swagger.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * author: lida
 * create time: 2020-09-02 17:49
 * description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("响应数据实体")     //说明当前这个实体是什么实体
public class ResultData<T> {

    @ApiModelProperty(name = "code",value = "返回状态码")
    private Integer code;
    @ApiModelProperty(name = "msg",value = "响应信息")
    private String msg;
    @ApiModelProperty(name = "t",value = "返回的数据")
    private T t;
}
